package utfpr.gang5.hermes.controledepresenca.services.impl;

import java.util.List;

import utfpr.gang5.hermes.controledepresenca.dao.CrudException;
import utfpr.gang5.hermes.controledepresenca.dao.GenericCrud;
import utfpr.gang5.hermes.controledepresenca.pojo.Curso;
import utfpr.gang5.hermes.controledepresenca.services.CursoService;

public class HibernateCursoServiceImpl extends GenericCrud<Curso> implements
		CursoService {

	public HibernateCursoServiceImpl() {
	}

	@Override
	public Curso carregar(Long id) throws CrudException {
		return carregar(Curso.class, id);
	}

	@Override
	public List<Curso> carregarTodos() throws CrudException {
		return carregarTodos(Curso.class);
	}

}
